home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / a5booklet / vms / read.me < prev   
Text File  |  1990-10-02  |  3KB  |  67 lines

  1.        dvidvi 0.5, Copyright (C) 1988, Radical Eye Software
  2.  
  3. Here's a little hack I threw together for those doing pagination
  4. tricks.  Any improvements are appreciated.  Enjoy!
  5. The dvidvi program converts a dvi file into another dvi file,
  6. with perhaps certain changes.  Invocation is
  7.  
  8.         dvidvi param infile outfile
  9.  
  10. What's that funny first parameter?  That's the parameter that tells
  11. dvidvi how you want to change things.
  12.  
  13.         The number preceding the colon is the modulo value.  Everything
  14. will be done in chunks of pages this big.  If there is no colon, than the
  15. default value is assumed to be one.  The last chunk of pages is padded
  16. with as many blank pages as necessary.
  17.  
  18.         Following the colon is a comma-separated list of page numbers.
  19. These page numbers are with respect to the current chunk of pages, and
  20. must lie in the range zero to the modulo value less one.  If a negative
  21. sign precedes the number, then the page is taken from the mirror chunk;
  22. if there are m chunks, then the mirror chunk of chunk n is the chunk
  23. numbered m-n-1.  Put simply, it is the chunk numbered the same, only
  24. from the end.  This can be used to reverse pages.  If no number is
  25. given, the page number defaults to 0.
  26.  
  27.         Following each page number is an optional offset value in
  28. parenthesis, which consists of a pair of comma-separated dimensions.
  29. Each dimension is a decimal number with an optional unit of measure.
  30. The default unit of measure is inches, or the last unit of measure
  31. used.  All units are in true dimensions.  Allowable units of measure
  32. are the same that TeX allows:  in, mm, cm, pt, pc, dd, and cc.
  33.  
  34.         Simple enough, eh?  Okay, let's do some simple things.
  35.  
  36. 0       The identity transformation.  A modulo of one is assumed; the only
  37.         reason we need to specify the zero is because a null parameter is
  38.         harder to type.
  39.  
  40. -       Reverses the order of the pages.  This time, both the modulo and
  41.         the page number are defaulted.
  42.  
  43. 2:0     Selects the first, third, fifth, etc. pages from the file.  Print
  44.         this one after printing the next, taking the paper out of the
  45.         feed tray and reinserting it into the paper feed.
  46.  
  47. 2:-1    Selects the second, fourth, etc. pages, and writes them in reverse
  48.         order.
  49. 4:-1,2(4.25in,0in)
  50. 4:-3,0(4.25in,0in)
  51.         Useful for printing a little booklet, four pages to a sheet,
  52.         double-sided, for stapling in the middle.  Print the first one,
  53.         put the stack back into the printer upside down, and print the
  54.         second.  The `in' specifications are superfluous.
  55. ,(1pt,1)
  56.         Scare your system administrator!  Actually, things are so
  57.         blurry with this option, you may want to send enemies letters
  58.         printed like this.  *Long* letters.
  59. 4:0(5.5in,4.25),3(0,4.25)
  60. 4:1(0in,4.25),2(5.5,4.25)
  61.         Print a four-page card on one sheet.  Print the first, rotate
  62.         the paper 180 degrees and feed it again.  (PostScript people
  63.         can do funny tricks with PostScript so this isn't necessary.)
  64.  
  65. Enjoy; this is an early release, so make suggestions, improvements,
  66. and I'll get back to you with a better version later.
  67.